package org.teremail.mailbox.search;

import java.util.Collection;

import org.teremail.mailbox.EntryDO;
import org.teremail.mailbox.FolderDO;
import org.teremail.message.Message;
import org.teremail.store.Store;

public interface MailboxSearch {

    Collection<EntryDO> search(FolderDO f, SearchTerm st);

    void index(Message message, Store store);

}
